package com.wangfa.config.impl;

import com.wangfa.config.Api;
import com.wangfa.entity.MyPage;
import com.wangfa.entity.Student;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class Back implements Api {
    @Override
    public MyPage<Student> getStudents() {
        System.out.println("调用student失败 本地熔断!!!!!!!");
        return null;
    }
}
